package me


class ChartFile {
	
    String fileName
    String chartSql 
    Integer chartDatasource
    String chartSource
    String token
    String remoteUrl
    Boolean isDir
    Date dateCreated
    Date lastUpdated
    Integer parentFileId
    Integer themeId
    Integer tableThemeId
    Integer userLoginId
    Integer refreshTime
    Integer yShifting
    Integer remoteAdapterId
    Boolean displayTable
    Boolean rowMode
    Boolean dynamicSeries

   	static mapping = {
        chartSource type: 'text'
    }

    static constraints = {
    	fileName nullable: true
    	chartSql nullable: true
    	chartDatasource nullable: true
    	isDir nullable: true
    	token nullable: true
    	parentFileId nullable: true
    	chartSource nullable: true
    	themeId nullable: true 
        remoteUrl nullable: true 
        userLoginId nullable: true
        refreshTime nullable: true
        displayTable nullable: true
        rowMode nullable: true
        dynamicSeries nullable: true
        tableThemeId nullable: true
        remoteAdapterId nullable: true
        yShifting nullable: true
    }
   
}
